Skip to content

Commit

Permalink
Add test lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ben221199 committed Mar 6, 2025
1 parent 3e2069f commit 0c4b120
Show file tree
Hide file tree
Showing 23 changed files with 130 additions and 126 deletions.
6 changes: 2 additions & 4 deletions src/Types/A6.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class A6 extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): A6{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): A6{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): A6{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/AMTRELAY.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class AMTRELAY extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): AMTRELAY{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): AMTRELAY
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): AMTRELAY{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/APL.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class APL extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): APL{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): APL{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): APL{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/ATMA.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class ATMA extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): ATMA{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): ATMA{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): ATMA{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/DSYNC.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class DSYNC extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): DSYNC{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): DSYNC{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): DSYNC{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/EID.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class EID extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): EID{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): EID{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): EID{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/HIP.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class HIP extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): HIP{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): HIP{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): HIP{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/HTTPS.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class HTTPS extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): HTTPS{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): HTTPS{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): HTTPS{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/IPN.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class IPN extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): IPN{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): IPN{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): IPN{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/IPSECKEY.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class IPSECKEY extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): IPSECKEY{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): IPSECKEY
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): IPSECKEY{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/LOC.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class LOC extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): LOC{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): LOC{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): LOC{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/NIMLOC.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class NIMLOC extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): NIMLOC{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): NIMLOC{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): NIMLOC{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/NSEC.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class NSEC extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): NSEC{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): NSEC{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): NSEC{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/NSEC3.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class NSEC3 extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): NSEC3{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): NSEC3{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): NSEC3{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/NXT.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class NXT extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): NXT{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): NXT{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): NXT{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/OPT.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class OPT extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): OPT{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): OPT{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): OPT{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/RRSIG.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class RRSIG extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): RRSIG{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): RRSIG{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): RRSIG{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/SIG.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class SIG extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): SIG{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): SIG{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): SIG{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
6 changes: 2 additions & 4 deletions src/Types/SVCB.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class SVCB extends Type{
* @throws DNSTypeException
*/
public static function deserializeFromPresentationFormat(string $data): SVCB{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

/**
Expand All @@ -21,8 +20,7 @@ public static function deserializeFromPresentationFormat(string $data): SVCB{
* @throws DNSTypeException
*/
public static function deserializeFromWireFormat(string $data): SVCB{
//TODO Implement
return new self([]);
throw new \RuntimeException('Type not implemented');
}

}
Loading

0 comments on commit 0c4b120

Please sign in to comment.