MCPcopy Create free account
hub / github.com/beefytech/Beef / CPPSTest

Method CPPSTest

IDE/mintest/src/cpp/sys.cpp:421–653  ·  view source on GitHub ↗

1 2 3 4

Source from the content-addressed store, hash-verified

419 //3
420 //4
421 void TestClass::CPPSTest(int iParam)
422 {
423 std::vector<int> intVector;
424 Yo(intVector, intVector);
425
426 std::string str = "Hey";
427 std::string& str2 = str;
428
429 int iVal = 123;
430 int& iVal2 = iVal;
431
432 StructC1 sC1;
433 sC1.mValA = 22;
434 sC1.mValB = 33;
435
436 /*for (int i = 0; i < 100000; i++)
437 {
438 OutputDebugStringA("This is a test of the OutputDebugString system\n");
439 }*/
440
441 //int pid = getpid();
442
443 TestStruct(sC1);
444
445 //assert(false);
446
447 ::MessageBoxA(NULL, "Test", "Zap", 1);
448
449 const char* msg = "Hey!";
450
451 MethodZ0(MethodZ1(123));
452
453 {
454 int zzz = 123;
455 printf("zzz: %d\n", zzz);
456 }
457 int qqq = 333;
458
459 for (int i = 0; i < 10; i++)
460 {
461 MethodA();
462 MethodB();
463 printf("Hey %d\n", i);
464 }
465
466 MultiClass::ClassD classD;
467 MultiClass::ClassB* classB = &classD;
468 MultiClass::ClassC* classC = &classD;
469 MultiClass::ClassA* classA = classC;
470
471 try
472 {
473 throw classB;
474 printf("After throw\n");
475 }
476 catch (void* ex)
477 {
478 printf("Inside handler\n");

Callers

nothing calls this directly

Calls 15

YoFunction · 0.85
MethodZ0Function · 0.85
MethodZ1Function · 0.85
MethodAFunction · 0.85
MethodBFunction · 0.85
CPPGetValueFunction · 0.85
IRefFunction · 0.85
CTest2Function · 0.85
CPPS_GetValMethod · 0.80
CPPS_GetValTooMethod · 0.80
HeyBroMethod · 0.80
TestStructFunction · 0.70

Tested by

no test coverage detected