File tree Expand file tree Collapse file tree 5 files changed +40
-10
lines changed
src/com/github/espiandev/showcaseview
test/com/github/espiandev/showcaseview Expand file tree Collapse file tree 5 files changed +40
-10
lines changed Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.github.espiandev</groupId >
7
7
<artifactId >showcaseview-parent</artifactId >
8
- <version >3.2 .0</version >
8
+ <version >3.5 .0</version >
9
9
<relativePath >../pom.xml</relativePath >
10
10
</parent >
11
11
34
34
<artifactId >annotations</artifactId >
35
35
<version >4.1.1.4</version >
36
36
</dependency >
37
+
38
+ <!-- Make sure this is below the android dependencies -->
39
+ <dependency >
40
+ <groupId >org.robolectric</groupId >
41
+ <artifactId >robolectric</artifactId >
42
+ <version >2.1.1</version >
43
+ <scope >test</scope >
44
+ </dependency >
45
+
46
+ <dependency >
47
+ <groupId >junit</groupId >
48
+ <artifactId >junit</artifactId >
49
+ <version >4.8.2</version >
50
+ <scope >test</scope >
51
+ </dependency >
37
52
</dependencies >
38
53
39
54
<build >
Original file line number Diff line number Diff line change @@ -86,15 +86,11 @@ public class ShowcaseView extends RelativeLayout implements View.OnClickListener
86
86
private Bitmap mBleachedCling ;
87
87
private int mShowcaseColor ;
88
88
89
- public ShowcaseView (Context context ) {
89
+ protected ShowcaseView (Context context ) {
90
90
this (context , null , R .styleable .CustomTheme_showcaseViewStyle );
91
91
}
92
92
93
- public ShowcaseView (Context context , AttributeSet attrs ) {
94
- this (context , attrs , R .styleable .CustomTheme_showcaseViewStyle );
95
- }
96
-
97
- public ShowcaseView (Context context , AttributeSet attrs , int defStyle ) {
93
+ protected ShowcaseView (Context context , AttributeSet attrs , int defStyle ) {
98
94
super (context , attrs , defStyle );
99
95
100
96
// Get the attributes for the ShowcaseView
Original file line number Diff line number Diff line change
1
+ package com .github .espiandev .showcaseview ;
2
+
3
+ import org .junit .Before ;
4
+ import org .junit .runner .RunWith ;
5
+ import org .robolectric .RobolectricTestRunner ;
6
+
7
+ @ RunWith (RobolectricTestRunner .class )
8
+ public class ShowcaseViewTests {
9
+
10
+ @ Before
11
+ public void setup () {
12
+
13
+ }
14
+
15
+ public void testSetOnShowcaseViewListenerIsSet () {
16
+
17
+ }
18
+
19
+ }
Original file line number Diff line number Diff line change 10
10
<groupId >com.github.espiandev</groupId >
11
11
<artifactId >showcaseview-parent</artifactId >
12
12
<packaging >pom</packaging >
13
- <version >3.2 .0</version >
13
+ <version >3.5 .0</version >
14
14
15
15
<name >ShowcaseView (parent)</name >
16
16
<description >Android library for implementing Holo-style highlighting of important UI areas.</description >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.github.espiandev</groupId >
7
7
<artifactId >showcaseview-parent</artifactId >
8
- <version >3.2 .0</version >
8
+ <version >3.5 .0</version >
9
9
<relativePath >../pom.xml</relativePath >
10
10
</parent >
11
11
29
29
<dependency >
30
30
<groupId >com.github.espiandev</groupId >
31
31
<artifactId >showcaseview-library</artifactId >
32
- <version >${project.version} </version >
32
+ <version >3.5.0 </version >
33
33
<type >apklib</type >
34
34
</dependency >
35
35
</dependencies >
You can’t perform that action at this time.
0 commit comments