Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shelnutt2 committed Mar 31, 2016
1 parent f901af0 commit 6db38c4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .idea/dictionaries/seth.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ android:
- sys-img-armeabi-v7a-android-17

licenses:
- '.+'
- '.+'

script: ./gradlew test
5 changes: 5 additions & 0 deletions banddetection/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

lintOptions {
disable 'GoogleAppIndexingWarning'
}
}

def siteUrl = 'https://github.com/Shelnutt2/BandDetection' // Homepage URL of the library
Expand Down Expand Up @@ -67,6 +71,7 @@ install {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
//noinspection GradleDependency
compile 'com.android.support:appcompat-v7:23.2.1'
androidTestCompile 'junit:junit:4.12'
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
package nu.shel.banddetection;

import junit.framework.TestCase;

import org.junit.Test;

import static nu.shel.banddetection.LTEBand.GetBandFromEarfcn;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;

public class LTEBandTest {
public class LTEBandTest extends TestCase{

@Test
public void GetBandFromEarfcn_returnsBand41() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* @since 3/30/2016
*/
public class LTEBand {
int band;
double upload_frequency_lower_bound, upload_frequency_upper_bound, download_frequency_lower_bound, download_frequency_upper_bound;
double upload_frequency_offset, download_frequency_offset;
public int band;
private double upload_frequency_lower_bound, upload_frequency_upper_bound, download_frequency_lower_bound, download_frequency_upper_bound;
private double upload_frequency_offset, download_frequency_offset;

/** Constructor to create LTEBand object
*
Expand Down

0 comments on commit 6db38c4

Please sign in to comment.