mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
New 2018 and later build setup (#1001)
This commit is contained in:
committed by
Peter Johnson
parent
cb2c9eb6d5
commit
7f88cf768d
@@ -126,4 +126,4 @@ TEST_P(FilterNoiseTest, NoiseReduce) {
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(Test, FilterNoiseTest,
|
||||
testing::Values(TEST_SINGLE_POLE_IIR, TEST_MOVAVG));
|
||||
testing::Values(TEST_SINGLE_POLE_IIR, TEST_MOVAVG),);
|
||||
@@ -147,4 +147,4 @@ TEST_P(FilterOutputTest, FilterOutput) {
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(Test, FilterOutputTest,
|
||||
testing::Values(TEST_SINGLE_POLE_IIR, TEST_HIGH_PASS,
|
||||
TEST_MOVAVG, TEST_PULSE));
|
||||
TEST_MOVAVG, TEST_PULSE),);
|
||||
@@ -190,4 +190,4 @@ TEST_P(MotorEncoderTest, Reset) {
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(Test, MotorEncoderTest,
|
||||
testing::Values(TEST_VICTOR, TEST_JAGUAR, TEST_TALON));
|
||||
testing::Values(TEST_VICTOR, TEST_JAGUAR, TEST_TALON),);
|
||||
@@ -153,4 +153,4 @@ TEST_P(MotorInvertingTest, InvertingSwitchingNegToPos) {
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(Test, MotorInvertingTest,
|
||||
testing::Values(TEST_VICTOR, TEST_JAGUAR, TEST_TALON));
|
||||
testing::Values(TEST_VICTOR, TEST_JAGUAR, TEST_TALON),);
|
||||
@@ -134,4 +134,4 @@ TEST_P(SpeedControllerGroupTest, PIDWrite) {
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(Test, SpeedControllerGroupTest,
|
||||
testing::Values(TEST_ONE, TEST_TWO, TEST_THREE));
|
||||
testing::Values(TEST_ONE, TEST_TWO, TEST_THREE), );
|
||||
14
wpilibcIntegrationTests/src/main/native/cpp/main.cpp
Normal file
14
wpilibcIntegrationTests/src/main/native/cpp/main.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2015-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
int ret = RUN_ALL_TESTS();
|
||||
return ret;
|
||||
}
|
||||
1
wpilibcIntegrationTests/src/main/native/dt/main.cpp
Normal file
1
wpilibcIntegrationTests/src/main/native/dt/main.cpp
Normal file
@@ -0,0 +1 @@
|
||||
int main() {}
|
||||
Reference in New Issue
Block a user