Skip to content

Commit

Permalink
Merge branch 'development' of github.com:ortus-solutions-private/bx-m…
Browse files Browse the repository at this point in the history
…ysql into development
  • Loading branch information
michaelborn committed Apr 19, 2024
2 parents 7858881 + 143b54a commit 9f4e317
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 1 deletion.
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@
"source.organizeImports": "explicit"
}
}

69 changes: 69 additions & 0 deletions .vscode/snippets.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"BoxLang License Header": {
"prefix": "header",
"body": [
"/**",
" * [BoxLang]",
" *",
" * Copyright [2023] [Ortus Solutions, Corp]",
" *",
" * Licensed under the Apache License, Version 2.0 (the \"License\");",
" * you may not use this file except in compliance with the License.",
" * You may obtain a copy of the License at",
" *",
" * http://www.apache.org/licenses/LICENSE-2.0",
" *",
" * Unless required by applicable law or agreed to in writing, software",
" * distributed under the License is distributed on an \"AS IS\" BASIS,",
" * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.",
" * See the License for the specific language governing permissions and",
" * limitations under the License.",
" */"
],
"description": "Inserts a BoxLang license header"
},
"DisplayName":{
"prefix": "displayname",
"body": "@DisplayName( \"It can $0\" )"
},
"Runtime Test Class": {
"prefix": "testclass",
"body": [
"/**",
" * [BoxLang]",
" *",
" * Copyright [2023] [Ortus Solutions, Corp]",
" *",
" * Licensed under the Apache License, Version 2.0 (the \"License\");",
" * you may not use this file except in compliance with the License.",
" * You may obtain a copy of the License at",
" *",
" * http://www.apache.org/licenses/LICENSE-2.0",
" *",
" * Unless required by applicable law or agreed to in writing, software",
" * distributed under the License is distributed on an \"AS IS\" BASIS,",
" * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.",
" * See the License for the specific language governing permissions and",
" * limitations under the License.",
" */",
"",
"package ortus.boxlang.runtime;",
"",
"import org.junit.Ignore;",
"import org.junit.jupiter.api.Test;",
"import org.junit.jupiter.api.DisplayName;",
"import static com.google.common.truth.Truth.assertThat;",
"",
"public class ${1:${TM_FILENAME_BASE}} {",
"",
"\t@DisplayName( \"Test it\" )",
"\t@Test",
"\tvoid testIt() {",
"\t\tassertThat( true ).isTrue();",
"\t}",
"",
"}"
],
"description": "Inserts a test class with license header and test method"
}
}

0 comments on commit 9f4e317

Please sign in to comment.