Reviewed By: jvillard Differential Revision: D3693997 fbshipit-source-id: de64bbemaster
parent
b48ec1ac93
commit
e2ff6e58a5
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (c) 2016 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface SomeClass : NSObject
|
||||
@end
|
||||
@implementation SomeClass
|
||||
@end
|
@ -0,0 +1,35 @@
|
||||
tests_dependencies = [
|
||||
'//infer/lib/java/android:android',
|
||||
'//dependencies/java/guava:guava',
|
||||
'//dependencies/java/junit:hamcrest',
|
||||
'//dependencies/java/jackson:jackson',
|
||||
'//dependencies/java/jsr-305:jsr-305',
|
||||
'//dependencies/java/junit:junit',
|
||||
'//dependencies/java/opencsv:opencsv',
|
||||
'//infer/tests/utils:utils',
|
||||
]
|
||||
|
||||
objcpp_linters_test_sources = glob(['*.java'])
|
||||
objcpp_linters_test_deps = []
|
||||
for test_source in objcpp_linters_test_sources:
|
||||
target_name = test_source.replace("/", "_")[:-len(".java")]
|
||||
objcpp_linters_test_deps.append(target_name)
|
||||
|
||||
java_test(
|
||||
name=target_name,
|
||||
srcs=[test_source],
|
||||
deps=tests_dependencies,
|
||||
visibility=[
|
||||
'PUBLIC',
|
||||
],
|
||||
source='7',
|
||||
target='7',
|
||||
)
|
||||
|
||||
java_test(
|
||||
name='componentkit',
|
||||
deps=[':' + x for x in objcpp_linters_test_deps],
|
||||
visibility=[
|
||||
'PUBLIC',
|
||||
],
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (c) 2016 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
package endtoend.objcpp.componentkit;
|
||||
import org.junit.Test;
|
||||
|
||||
public class MutableLocalVariableTest {
|
||||
@Test
|
||||
public void MLVsInComponentFile() {
|
||||
// do nothing fro now
|
||||
}
|
||||
}
|
Loading…
Reference in new issue