Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 4,561 for cunit (0.17 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/src/operatorsTest/c/test_minus.c

    #include <CUnit/Basic.h>
    #include "operators.h"
    
    void test_minus() {
      CU_ASSERT(minus(2, 0) == 2);
      CU_ASSERT(minus(0, -2) == 2);
      CU_ASSERT(minus(2, 2) == 0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 165 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/src/operatorsTest/c/test_plus.c

    #include <CUnit/Basic.h>
    #include "operators.h"
    
    void test_plus() {
      CU_ASSERT(plus(0, 2) == 2);
      CU_ASSERT(plus(0, -2) == -2);
      CU_ASSERT(plus(2, 2) == 4);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 161 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/cunit/tests/assembleDependentComponentsReport.out

    > Task :dependentComponents
    
    ------------------------------------------------------------
    Root project 'cunit'
    ------------------------------------------------------------
    
    operators - Components that depend on native library 'operators'
    +--- operators:failingSharedLibrary
    +--- operators:failingStaticLibrary
    +--- operators:passingSharedLibrary
    \--- operators:passingStaticLibrary
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 512 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/src/operatorsTest/c/suite_operators.c

    #include <CUnit/Basic.h>
    #include "gradle_cunit_register.h"
    #include "test_operators.h"
    
    int suite_init(void) {
        return 0;
    }
    
    int suite_clean(void) {
        return 0;
    }
    
    void gradle_cunit_register() {
        CU_pSuite pSuiteMath = CU_add_suite("operator tests", suite_init, suite_clean);
        CU_add_test(pSuiteMath, "test_plus", test_plus);
        CU_add_test(pSuiteMath, "test_minus", test_minus);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 395 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/cunit/tests/dependentComponentsReport.out

    > Task :dependentComponents
    
    ------------------------------------------------------------
    Root project 'cunit'
    ------------------------------------------------------------
    
    operators - Components that depend on native library 'operators'
    +--- operators:failingSharedLibrary
    +--- operators:failingStaticLibrary
    +--- operators:passingSharedLibrary
    \--- operators:passingStaticLibrary
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 512 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/custom-check/groovy/build.gradle

    // tag::custom-check[]
    plugins {
        id "cpp"
    }
    // You don't need to apply the plugin below if you're already using CUnit or GoogleTest support
    apply plugin: TestingModelBasePlugin
    
    tasks.register('myCustomCheck') {
        doLast {
            println 'Executing my custom check'
        }
    }
    
    model {
        components {
            hello(NativeLibrarySpec) {
                binaries.all {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 556 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/MyMem.h

    /*
     *  CUnit - A Unit testing framework library for C.
     *  Copyright (C) 2001       Anil Kumar
     *  Copyright (C) 2004-2006  Anil Kumar, Jerry St.Clair
     *
     *  This library is free software; you can redistribute it and/or
     *  modify it under the terms of the GNU Library General Public
     *  License as published by the Free Software Foundation; either
     *  version 2 of the License, or (at your option) any later version.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/cunit/README.md

    ## CUnit Sample Limitations
    
    Currently, the Gradle model for Platform does not allow us to differentiate between different c-runtime, ABI or other binary variants.
    This means that it is not possible to differentiate between a prebuilt library binary compatible with VS2010 vs VS2013.
    
    As such, this sample will only work without modification on Windows with Visual Studio 2010. Uncomment the relevant line in the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 486 bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/nativeplatform/NativeLanguageSamplesIntegrationTest.groovy

        @Rule public final Sample windowsResources = sample(testDirProvider, 'windows-resources')
        @Rule public final Sample idl = sample(testDirProvider, 'idl')
        @Rule public final Sample cunit = sample(testDirProvider, 'cunit')
        @Rule public final Sample pch = sample(testDirProvider, 'pre-compiled-headers')
    
        private static Sample sample(TestDirectoryProvider testDirectoryProvider, String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestRun.h

                                              CU_BOOL bFatal);
    /**< 
     *  Assertion implementation function.
     *  All CUnit assertions reduce to a call to this function.  It should only be
     *  called during an active test run (checked by assertion).  This means that CUnit
     *  assertions should only be used in registered test functions during a test run.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 22K bytes
    - Viewed (0)
Back to top