intellisense tests in release

This commit is contained in:
Ivan Bondarev 2025-11-27 18:24:51 +01:00
parent 6d14df7ffc
commit 046deeaff2
2 changed files with 8 additions and 7 deletions

View file

@ -292,15 +292,16 @@ namespace CodeCompletion
else
System.Diagnostics.Debug.Assert(cond);
#else
throw new Exception(cond + " " + message);
/*if (message != null)
System.Diagnostics.Trace.Assert(cond, message);
else
System.Diagnostics.Trace.Assert(cond);*/
#endif
}
/*private static void TestVBNETExpressionExtract()
/*private static void TestVBNETExpressionExtract()
{
string s;
int off=0;
@ -334,8 +335,8 @@ namespace CodeCompletion
s = parser.LanguageInformation.FindExpression(off,test_str,line,col,out keyw);
assert(s.Trim(' ','\n','\t')=="(abc)");
}*/
private static void TestExpressionExtract()
private static void TestExpressionExtract()
{
string s;
int off=0;

View file

@ -235,8 +235,8 @@ namespace VisualPascalABCPlugins
{
CodeCompletion.CodeCompletionTester.Test();
CodeCompletion.CodeCompletionTester.TestIntellisense(Path.Combine(@"c:\Work\Miks\_PABCNETGitHub\pascalabcnet\TestSuite", "intellisense_tests"));
CodeCompletion.CodeCompletionTester.TestRename(@"c:\Work\Miks\_PABCNETGitHub\pascalabcnet\TestSuite\refactoring_tests\rename_tests");
CodeCompletion.CodeCompletionTester.TestIntellisense(Path.Combine(Path.Combine(Environment.CurrentDirectory, ".." + Path.DirectorySeparatorChar + "TestSuite"), "intellisense_tests"));
CodeCompletion.CodeCompletionTester.TestRename(Path.Combine(Path.Combine(Environment.CurrentDirectory, ".." + Path.DirectorySeparatorChar + "TestSuite"), Path.Combine("refactoring_tests","rename_tests")));
MessageBox.Show("Done");
}