Skip to content

Commit

Permalink
Add aliases for R5
Browse files Browse the repository at this point in the history
  • Loading branch information
LegalizeAdulthood committed Jan 21, 2024
1 parent 4e6db2d commit 069ff14
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
8 changes: 4 additions & 4 deletions RefactorTest/Rename.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ class Operations
class Rename1
{
public:
// #TEST#: R6 Rename this class via its c'tor
// #TEST#: R6 =R5 Rename this class via its c'tor
Rename1() : x()
{
}

// #TEST#: R7 Rename this class via its d'tor
// #TEST#: R7 =R5 Rename this class via its d'tor
~Rename1()
{
}

// #TEST#: R8 Rename this class via typedef
// #TEST#: R8 =R5 Rename this class via typedef
// #TEST#: R9 Rename typedef MyClass
typedef Rename1 MyClass;

Expand Down Expand Up @@ -615,7 +615,7 @@ void TestRename()
uf = su.member();

// #TEST#: R191 Rename MyClass
// #TEST#: R192 Rename Rename1 from scope qualifier
// #TEST#: R192 =R5 Rename Rename1 from scope qualifier
Rename1::MyClass myClass;
myClass.Operation();

Expand Down
2 changes: 1 addition & 1 deletion results/diffs/R10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ index d1c1283..af30d00 100644

@@ -617,12 +617,12 @@ void TestRename()
// #TEST#: R191 Rename MyClass
// #TEST#: R192 Rename Rename1 from scope qualifier
// #TEST#: R192 =R5 Rename Rename1 from scope qualifier
Rename1::MyClass myClass;
- myClass.Operation();
+ myClass.goink();
Expand Down
4 changes: 2 additions & 2 deletions results/diffs/R191.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ index d1c1283..3838e74 100644
+++ b/RefactorTest/Rename.cpp
@@ -46,7 +46,7 @@ public:

// #TEST#: R8 Rename this class via typedef
// #TEST#: R8 =R5 Rename this class via typedef
// #TEST#: R9 Rename typedef MyClass
- typedef Rename1 MyClass;
+ typedef Rename1 Goink;
Expand All @@ -14,7 +14,7 @@ index d1c1283..3838e74 100644
@@ -616,7 +616,7 @@ void TestRename()

// #TEST#: R191 Rename MyClass
// #TEST#: R192 Rename Rename1 from scope qualifier
// #TEST#: R192 =R5 Rename Rename1 from scope qualifier
- Rename1::MyClass myClass;
+ Rename1::Goink myClass;
myClass.Operation();
Expand Down
8 changes: 4 additions & 4 deletions results/diffs/R192.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ index d1c1283..a756ebe 100644
+class Goink
{
public:
// #TEST#: R6 Rename this class via its c'tor
// #TEST#: R6 =R5 Rename this class via its c'tor
- Rename1() : x()
+ Goink() : x()
{
}

// #TEST#: R7 Rename this class via its d'tor
// #TEST#: R7 =R5 Rename this class via its d'tor
- ~Rename1()
+ ~Goink()
{
}

// #TEST#: R8 Rename this class via typedef
// #TEST#: R8 =R5 Rename this class via typedef
// #TEST#: R9 Rename typedef MyClass
- typedef Rename1 MyClass;
+ typedef Goink MyClass;
Expand All @@ -32,7 +32,7 @@ index d1c1283..a756ebe 100644
@@ -616,11 +616,11 @@ void TestRename()

// #TEST#: R191 Rename MyClass
// #TEST#: R192 Rename Rename1 from scope qualifier
// #TEST#: R192 =R5 Rename Rename1 from scope qualifier
- Rename1::MyClass myClass;
+ Goink::MyClass myClass;
myClass.Operation();
Expand Down
2 changes: 1 addition & 1 deletion results/diffs/R194.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ index d1c1283..af30d00 100644

@@ -617,12 +617,12 @@ void TestRename()
// #TEST#: R191 Rename MyClass
// #TEST#: R192 Rename Rename1 from scope qualifier
// #TEST#: R192 =R5 Rename Rename1 from scope qualifier
Rename1::MyClass myClass;
- myClass.Operation();
+ myClass.goink();
Expand Down
8 changes: 4 additions & 4 deletions results/diffs/R5.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ index d1c1283..a756ebe 100644
+class Goink
{
public:
// #TEST#: R6 Rename this class via its c'tor
// #TEST#: R6 =R5 Rename this class via its c'tor
- Rename1() : x()
+ Goink() : x()
{
}

// #TEST#: R7 Rename this class via its d'tor
// #TEST#: R7 =R5 Rename this class via its d'tor
- ~Rename1()
+ ~Goink()
{
}

// #TEST#: R8 Rename this class via typedef
// #TEST#: R8 =R5 Rename this class via typedef
// #TEST#: R9 Rename typedef MyClass
- typedef Rename1 MyClass;
+ typedef Goink MyClass;
Expand All @@ -32,7 +32,7 @@ index d1c1283..a756ebe 100644
@@ -616,11 +616,11 @@ void TestRename()

// #TEST#: R191 Rename MyClass
// #TEST#: R192 Rename Rename1 from scope qualifier
// #TEST#: R192 =R5 Rename Rename1 from scope qualifier
- Rename1::MyClass myClass;
+ Goink::MyClass myClass;
myClass.Operation();
Expand Down
8 changes: 4 additions & 4 deletions results/diffs/R6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ index d1c1283..a756ebe 100644
+class Goink
{
public:
// #TEST#: R6 Rename this class via its c'tor
// #TEST#: R6 =R5 Rename this class via its c'tor
- Rename1() : x()
+ Goink() : x()
{
}

// #TEST#: R7 Rename this class via its d'tor
// #TEST#: R7 =R5 Rename this class via its d'tor
- ~Rename1()
+ ~Goink()
{
}

// #TEST#: R8 Rename this class via typedef
// #TEST#: R8 =R5 Rename this class via typedef
// #TEST#: R9 Rename typedef MyClass
- typedef Rename1 MyClass;
+ typedef Goink MyClass;
Expand All @@ -32,7 +32,7 @@ index d1c1283..a756ebe 100644
@@ -616,11 +616,11 @@ void TestRename()

// #TEST#: R191 Rename MyClass
// #TEST#: R192 Rename Rename1 from scope qualifier
// #TEST#: R192 =R5 Rename Rename1 from scope qualifier
- Rename1::MyClass myClass;
+ Goink::MyClass myClass;
myClass.Operation();
Expand Down
8 changes: 4 additions & 4 deletions results/diffs/R7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ index d1c1283..a756ebe 100644
+class Goink
{
public:
// #TEST#: R6 Rename this class via its c'tor
// #TEST#: R6 =R5 Rename this class via its c'tor
- Rename1() : x()
+ Goink() : x()
{
}

// #TEST#: R7 Rename this class via its d'tor
// #TEST#: R7 =R5 Rename this class via its d'tor
- ~Rename1()
+ ~Goink()
{
}

// #TEST#: R8 Rename this class via typedef
// #TEST#: R8 =R5 Rename this class via typedef
// #TEST#: R9 Rename typedef MyClass
- typedef Rename1 MyClass;
+ typedef Goink MyClass;
Expand All @@ -32,7 +32,7 @@ index d1c1283..a756ebe 100644
@@ -616,11 +616,11 @@ void TestRename()

// #TEST#: R191 Rename MyClass
// #TEST#: R192 Rename Rename1 from scope qualifier
// #TEST#: R192 =R5 Rename Rename1 from scope qualifier
- Rename1::MyClass myClass;
+ Goink::MyClass myClass;
myClass.Operation();
Expand Down
8 changes: 4 additions & 4 deletions results/diffs/R8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ index d1c1283..a756ebe 100644
+class Goink
{
public:
// #TEST#: R6 Rename this class via its c'tor
// #TEST#: R6 =R5 Rename this class via its c'tor
- Rename1() : x()
+ Goink() : x()
{
}

// #TEST#: R7 Rename this class via its d'tor
// #TEST#: R7 =R5 Rename this class via its d'tor
- ~Rename1()
+ ~Goink()
{
}

// #TEST#: R8 Rename this class via typedef
// #TEST#: R8 =R5 Rename this class via typedef
// #TEST#: R9 Rename typedef MyClass
- typedef Rename1 MyClass;
+ typedef Goink MyClass;
Expand All @@ -32,7 +32,7 @@ index d1c1283..a756ebe 100644
@@ -616,11 +616,11 @@ void TestRename()

// #TEST#: R191 Rename MyClass
// #TEST#: R192 Rename Rename1 from scope qualifier
// #TEST#: R192 =R5 Rename Rename1 from scope qualifier
- Rename1::MyClass myClass;
+ Goink::MyClass myClass;
myClass.Operation();
Expand Down
4 changes: 2 additions & 2 deletions results/diffs/R9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ index d1c1283..3838e74 100644
+++ b/RefactorTest/Rename.cpp
@@ -46,7 +46,7 @@ public:

// #TEST#: R8 Rename this class via typedef
// #TEST#: R8 =R5 Rename this class via typedef
// #TEST#: R9 Rename typedef MyClass
- typedef Rename1 MyClass;
+ typedef Rename1 Goink;
Expand All @@ -14,7 +14,7 @@ index d1c1283..3838e74 100644
@@ -616,7 +616,7 @@ void TestRename()

// #TEST#: R191 Rename MyClass
// #TEST#: R192 Rename Rename1 from scope qualifier
// #TEST#: R192 =R5 Rename Rename1 from scope qualifier
- Rename1::MyClass myClass;
+ Rename1::Goink myClass;
myClass.Operation();
Expand Down

0 comments on commit 069ff14

Please sign in to comment.